package top.dark.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Author: Darkn
 * description:
 * Create Time: 2021/3/19 15:04
 */
@Data
@ConfigurationProperties(prefix = "gulimall.threadpool")
public class ThreadPoolConfigProperties {

    private Integer corePoolSize = 20;
    private Integer maximumPoolSize = 200;
    private Long keepAliveTime = 10L;
}
